import vue from '@vitejs/plugin-vue'
import {defineConfig} from "vite";

export default defineConfig( {
    plugins: [vue()],
    optimizeDeps: {
        include: ['schart.js']
    },
    server: {
        // proxy: 'http://10.181.255.203:8080',
        port: 3000,
        // https: true,
    },
    build: {
        chunkSizeWarningLimit:1500,
        rollupOptions: {
            external: ["src/assets/img/avatar.jpg"]
        }
    },
})